/**
 * 
 */
package com.xpec.c4.game.login.async2;

import com.ms.game.bank.BankProcessor;
import com.ms.game.bank.message.BankRequest;
import com.xpec.c4.game.login.LoginModule;
import com.xpec.c4.game.utility.GUID;

/**
 * @author TW15010
 *
 */
public class BankCreatePasswordGetAccountAsync extends DoAfterLoadAccountAsync {
	private GUID sessionID;

	private BankRequest request;

	@Override
	public void execute() throws Exception {
		LoginModule module = (LoginModule) getCurrentModuleServer();
		BankProcessor.OnCreatePassword(sessionID, request, getLoadAccountId(), getLoadAccount(), module);
	}

	public void setSessionID(GUID sessionID) {
		this.sessionID = sessionID;
	}

	public void setRequest(BankRequest request) {
		this.request = request;
	}
}
